﻿<%@ Page Language="C#" MasterPageFile="~/MasterPage.master" AutoEventWireup="true"  Theme="SkinFile"
    CodeFile="Equipment.aspx.cs" Inherits="Equipment" Title="Untitled Page" Culture="auto"
    UICulture="auto" %>

<%@ Register Assembly="AspNetPager" Namespace="Wuqi.Webdiyer" TagPrefix="webdiyer" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder" runat="Server">
    <h1 id="pagetitle" class="pagetitle">
        固定资产信息管理
        <asp:UpdateProgress ID="UpdateProgress1" runat="server">
            <ProgressTemplate>
                <div class="anistyle" id="ani">
                    正在加载数据，请耐心等待...
                </div>
            </ProgressTemplate>
        </asp:UpdateProgress>
    </h1>
    <asp:UpdatePanel ID="UpdatePanel" runat="server">
        <ContentTemplate>
            <div class="condition">
                <div class="conditioninput">
                    设备编号：<asp:TextBox ID="TxtEquipID" runat="server" Width="172px"></asp:TextBox>
                </div>
                <div class="conditionbutton">
                    <asp:Button ID="BtnQuery" runat="server" Text="查询信息" Width="80px" OnClick="BtnQuery_Click" />&nbsp;<asp:Button
                        ID="CreateGo" runat="server" Text="创建新设备" Width="90px" OnClick="CreateGo_Click" />
                </div>
            </div>
            <div runat="server" id="divResult" class="divResult">
                <asp:Label ID="OperationResult" CssClass="result" runat="server" Text=""></asp:Label>
            </div>
            <div class="InfoArea">
                <asp:Panel ID="SummaryPanel" runat="server" Width="100%">
                    <asp:GridView ID="GridView" runat="server" AutoGenerateColumns="False" Width="100%"
                        DataKeyNames="Equip_ID" SkinID="gridviewSkin">
                        <%--<RowStyle BackColor="#EFF3FB" Height="24px" />
                        <FooterStyle BackColor="#507CD1" Font-Bold="True" ForeColor="White" />
                        <PagerStyle BackColor="#2461BF" ForeColor="White" HorizontalAlign="Center" />
                        <SelectedRowStyle BackColor="#D1DDF1" Font-Bold="True" ForeColor="#333333" />
                        <HeaderStyle BackColor="#507CD1" Font-Bold="True" ForeColor="White" Height="24px" />
                        <EditRowStyle BackColor="#2461BF" />
                        <AlternatingRowStyle BackColor="White" />--%>
                        <Columns>
                            <asp:BoundField DataField="Equip_ID" HeaderText="设备
                            编号">
                                <HeaderStyle Width="60px" />
                            </asp:BoundField>
                            <asp:BoundField DataField="Equip_Name" HeaderText="设备名称">
                                <%--<HeaderStyle Width="110px" />--%>
                            </asp:BoundField>
                            <asp:BoundField DataField="Ex_Fact_Date" HeaderText="出厂/生产日期" DataFormatString="{0:yyyy-MM-dd }">
                                <HeaderStyle Width="100px" />
                            </asp:BoundField>
                            <asp:BoundField DataField="Buy_Date" HeaderText="购买日期" DataFormatString="{0:yyyy-MM-dd }">
                                <HeaderStyle Width="90px" />
                            </asp:BoundField>
                            <asp:BoundField DataField="Useful_Life" HeaderText="有效期" DataFormatString="{0:#天}">
                                <HeaderStyle Width="60px" />
                            </asp:BoundField>
                            <asp:BoundField DataField="Maintain_Day_Cyc" HtmlEncode="False" HeaderText="维护周期"
                                DataFormatString="{0:#天}">
                                <HeaderStyle Width="60px" />
                            </asp:BoundField>
                            <asp:TemplateField HeaderText="操作">
                                <ItemTemplate>
                                    <asp:LinkButton ID="GvEdit" runat="server" OnClick="GvEdit_Click">编辑</asp:LinkButton>
                                    <asp:LinkButton ID="GvDelete" runat="server" OnClick="GvDelete_Click" OnClientClick="javascript:return confirm('您确定要删除此条记录吗？');">删除</asp:LinkButton>
                                    <asp:LinkButton ID="GvDetail" runat="server" OnClick="GvDetail_Click">详细</asp:LinkButton>
                                    <asp:HyperLink ID="GvKept" runat="server" NavigateUrl='<%# "~/EquipKeptReg.aspx?EquipID=" + Eval("Equip_ID") %>'>保管</asp:HyperLink>
                                    <asp:HyperLink ID="GvMaintain" runat="server" NavigateUrl='<%# "~/EquipMtReg.aspx?EquipID=" + Eval("Equip_ID") %>'>维修</asp:HyperLink>
                                </ItemTemplate>
                                <HeaderStyle HorizontalAlign="Center" />
                                <ItemStyle HorizontalAlign='Center' Width="150px" />
                            </asp:TemplateField>
                        </Columns>
                    </asp:GridView>
                    <webdiyer:AspNetPager ID="AspNetPager" runat="server" ShowCustomInfoSection="Left"
                        CustomInfoHTML="总记录数：%RecordCount%，总页数：%PageCount%，当前为第%CurrentPageIndex%页" CustomInfoTextAlign="left"
                        CustomInfoStyle="padding-top:8px;font-weight:bold;" HorizontalAlign="right" FirstPageText="首页"
                        LastPageText="尾页" NextPageText="下一页" OnPageChanged="AspNetPager_PageChanged"
                        PrevPageText="上一页" ShowPageIndexBox="Always" SubmitButtonText="Go" TextAfterPageIndexBox="页"
                        TextBeforePageIndexBox="转到" CssClass="anpager" CurrentPageButtonClass="cpb">
                    </webdiyer:AspNetPager>
                </asp:Panel>
                <asp:Panel ID="CreatePanel" runat="server" Width="100%">
                    <table width="100%" border="0" cellspacing="0" cellpadding="0" class="tablehaveborder">
                        <tr>
                            <td style="height: 1px; background-color: #F0F0F0;" colspan="3">
                            </td>
                        </tr>
                        <tr>
                            <td style="width: 120px; height: 24px;">
                                &nbsp;&nbsp;设备编号：
                            </td>
                            <td style="width: 400px;" class="id">
                                <asp:Label ID="CreateEquip_ID" runat="server" Width="100%"></asp:Label>
                            </td>
                            <td style="width: 150px;">
                            </td>
                        </tr>
                        <tr>
                            <td style="height: 1px; background-color: #F0F0F0;" colspan="3">
                            </td>
                        </tr>
                        <tr>
                            <td style="width: 120px; height: 24px;">
                                &nbsp;&nbsp;设备名称：
                            </td>
                            <td style="width: 400px;">
                                <asp:TextBox ID="CreateEquip_Name" runat="server" Width="99%" ValidationGroup="Create"></asp:TextBox>
                            </td>
                            <td style="width: 150px;">
                                &nbsp;<asp:RequiredFieldValidator ID="CreateRequired1" runat="server" ControlToValidate="CreateEquip_Name"
                                    Display="Dynamic" ErrorMessage="请输入设备名称！" ValidationGroup="Create"></asp:RequiredFieldValidator>
                            </td>
                        </tr>
                        <tr>
                            <td style="height: 1px; background-color: #F0F0F0;" colspan="3">
                            </td>
                        </tr>
                        <tr>
                            <td style="width: 120px; height: 24px;">
                                &nbsp;&nbsp;制造厂商：
                            </td>
                            <td style="width: 400px;">
                                <asp:TextBox ID="CreateOEM" runat="server" Width="99%" ValidationGroup="Create"></asp:TextBox>
                            </td>
                            <td style="width: 150px;">
                                &nbsp;
                            </td>
                        </tr>
                        <tr>
                            <td style="height: 1px; background-color: #F0F0F0;" colspan="3">
                            </td>
                        </tr>
                        <tr>
                            <td style="width: 120px; height: 24px;">
                                &nbsp;&nbsp;出厂/生产日期：
                            </td>
                            <td style="width: 400px;">
                                <asp:TextBox ID="CreateEx_Fact_Date" runat="server" Width="99%" ValidationGroup="Create"></asp:TextBox>
                            </td>
                            <td style="width: 150px;">
                                <ajaxToolkit:CalendarExtender ID="CreateExtender" runat="server" Format="yyyy-MM-dd"
                                    TargetControlID="CreateEx_Fact_Date">
                                </ajaxToolkit:CalendarExtender>
                            </td>
                        </tr>
                        <%--<tr>
                            <td style="height: 1px; background-color: #F0F0F0;" colspan="3">
                            </td>
                        </tr>
                        <tr>
                            <td style="width: 120px; height: 24px;">
                                &nbsp;&nbsp;照片铭牌：
                            </td>
                            <td style="width: 400px;">
                                <asp:TextBox ID="CreateNameplate" runat="server" Width="99%" ValidationGroup="Create"></asp:TextBox>
                            </td>
                            <td style="width: 150px;">
                                &nbsp;
                            </td>
                        </tr>--%>
                        <tr>
                            <td style="height: 1px; background-color: #F0F0F0;" colspan="3">
                            </td>
                        </tr>
                        <tr>
                            <td style="width: 120px; height: 24px;">
                                &nbsp;&nbsp;购买日期：</td>
                            <td style="width: 400px;">
                                <asp:TextBox ID="CreateBuy_Date" runat="server" Width="99%" ValidationGroup="Create"></asp:TextBox>
                            </td>
                            <td style="width: 150px;">
                                &nbsp;<ajaxToolkit:CalendarExtender ID="CalendarExtender4" runat="server" Format="yyyy-MM-dd"
                                    TargetControlID="CreateBuy_Date">
                                </ajaxToolkit:CalendarExtender>
                            </td>
                        </tr>
                        <tr>
                            <td style="height: 1px; background-color: #F0F0F0;" colspan="3">
                            </td>
                        </tr>
                        <tr>
                            <td style="width: 120px; height: 24px;">
                                &nbsp;&nbsp;有效期：
                            </td>
                            <td style="width: 400px;">
                                <asp:TextBox ID="CreateUseful_Life" runat="server" Width="30%" ValidationGroup="Create"></asp:TextBox>天
                            </td>
                            <td style="width: 150px;">
                                &nbsp;</td>
                        </tr>
                        <tr>
                            <td style="height: 1px; background-color: #F0F0F0;" colspan="3">
                            </td>
                        </tr>
                        <tr>
                            <td style="width: 120px; height: 24px;">
                                &nbsp;&nbsp;维护周期：</td>
                            <td style="width: 400px;">
                                <asp:TextBox ID="CreateMaintain_Day_Cyc" runat="server" Width="30%" ValidationGroup="Create"></asp:TextBox>天
                            </td>
                            <td style="width: 150px;">
                                &nbsp;
                            </td>
                        </tr>
                        <tr>
                            <td style="height: 1px; background-color: #F0F0F0;" colspan="3">
                            </td>
                        </tr>
                        <tr>
                            <td style="height: 70px; padding-top: 6px;" valign="top">
                                &nbsp;&nbsp;仪器设备参数：
                            </td>
                            <td style="padding-top: 6px; height: 70px;" valign="top">
                                <asp:TextBox ID="CreateEquip_Configs" runat="server" Width="99%" ValidationGroup="Create"
                                    Height="70px" TextMode="MultiLine"></asp:TextBox>
                            </td>
                            <td style="width: 150px;">
                                &nbsp;
                            </td>
                        </tr>
                        <tr>
                            <td style="height: 1px; background-color: #F0F0F0;" colspan="3">
                            </td>
                        </tr>
                        <tr>
                            <td class="tblfooter" colspan="3" align="right">
                                &nbsp;<asp:Button ID="CreateSave" runat="server" Text="保 存" Width="90px" OnClick="CreateSave_Click"
                                    ValidationGroup="Create" />
                                <asp:Button ID="CreateBack" runat="server" Text="返 回" Width="90px" OnClick="CreateBack_Click" /></td>
                        </tr>
                    </table>
                </asp:Panel>
                <asp:Panel ID="EditPanel" runat="server" Width="100%">
                    <table width="100%" border="0" cellspacing="0" cellpadding="0" class="tablehaveborder">
                        <tr>
                            <td style="height: 1px; background-color: #F0F0F0;" colspan="3">
                            </td>
                        </tr>
                        <tr>
                            <td style="width: 120px; height: 24px;">
                                &nbsp;&nbsp;设备编号：
                            </td>
                            <td style="width: 400px;" class="id">
                                <asp:Label ID="EditEquip_ID" runat="server" Width="100%"></asp:Label>
                            </td>
                            <td style="width: 150px;">
                                &nbsp;
                            </td>
                        </tr>
                        <tr>
                            <td style="height: 1px; background-color: #F0F0F0;" colspan="3">
                            </td>
                        </tr>
                        <tr>
                            <td style="width: 120px; height: 24px;">
                                &nbsp;&nbsp;设备名称：</td>
                            <td style="width: 400px;">
                                <asp:TextBox ID="EditEquip_Name" runat="server" Width="99%" ValidationGroup="Edit"></asp:TextBox>
                            </td>
                            <td style="width: 150px;">
                                &nbsp;
                                <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ControlToValidate="EditEquip_Name"
                                    Display="Dynamic" ErrorMessage="请输入设备名称！" ValidationGroup="Edit"></asp:RequiredFieldValidator></td>
                        </tr>
                        <tr>
                            <td style="height: 1px; background-color: #F0F0F0;" colspan="3">
                            </td>
                        </tr>
                        <tr>
                            <td style="width: 120px; height: 24px;">
                                &nbsp;&nbsp;制造厂商：
                            </td>
                            <td style="width: 400px;">
                                <asp:TextBox ID="EditOEM" runat="server" Width="99%" ValidationGroup="Edit"></asp:TextBox>
                            </td>
                            <td style="width: 150px;">
                                &nbsp;
                            </td>
                        </tr>
                        <tr>
                            <td style="height: 1px; background-color: #F0F0F0;" colspan="3">
                            </td>
                        </tr>
                        <tr>
                            <td style="width: 120px; height: 24px;">
                                &nbsp;&nbsp;出厂/生产日期：&nbsp;
                            </td>
                            <td style="width: 400px;">
                                <asp:TextBox ID="EditEx_Fact_Date" runat="server" Width="99%" ValidationGroup="Edit"></asp:TextBox>
                            </td>
                            <td style="width: 150px;">
                                &nbsp;<ajaxToolkit:CalendarExtender ID="CalendarExtender2" runat="server" Format="yyyy-MM-dd"
                                    TargetControlID="EditEx_Fact_Date">
                                </ajaxToolkit:CalendarExtender>
                            </td>
                        </tr>
                        <tr>
                            <td style="height: 1px; background-color: #F0F0F0;" colspan="3">
                            </td>
                        </tr>
                        <tr>
                            <td style="width: 120px; height: 24px;">
                                &nbsp;&nbsp;照片铭牌：</td>
                            <td style="width: 400px;">
                                <%--<asp:TextBox ID="EditNameplate" runat="server" Width="99%" ValidationGroup="Edit"></asp:TextBox>--%>
                                <asp:Repeater ID="EditRepFile" runat="server" OnItemCommand="RepFile_ItemCommand">
                                    <ItemTemplate>
                                        <li>
                                            <img src='ReadImage.aspx?filepath=<%#DataBinder.Eval(Container.DataItem, "file_url")%>'
                                                alt='<%#DataBinder.Eval(Container.DataItem, "file_name")%>' width="100" height="100" />
                                            <asp:LinkButton ID="btnDeleteFile" CommandName='<%#DataBinder.Eval(Container.DataItem, "File_ID")%>'
                                                runat="server">删除</asp:LinkButton></li>
                                    </ItemTemplate>
                                </asp:Repeater>
                            </td>
                            <td style="width: 150px;" align="right">
                                &nbsp;&nbsp;
                                <asp:LinkButton ID="btnAddAttachment" runat="server" OnClick="btnAddAttachment_Click">添加附件</asp:LinkButton></td>
                        </tr>
                        <tr>
                            <td style="height: 1px; background-color: #F0F0F0;" colspan="3">
                            </td>
                        </tr>
                        <tr>
                            <td style="width: 120px; height: 24px;">
                                &nbsp;&nbsp;购买日期：</td>
                            <td style="width: 400px;">
                                <asp:TextBox ID="EditBuy_Date" runat="server" Width="99%" ValidationGroup="Edit"></asp:TextBox>
                            </td>
                            <td style="width: 150px;">
                                &nbsp;<ajaxToolkit:CalendarExtender ID="CalendarExtender3" runat="server" Format="yyyy-MM-dd"
                                    TargetControlID="EditBuy_Date">
                                </ajaxToolkit:CalendarExtender>
                            </td>
                        </tr>
                        <tr>
                            <td style="height: 1px; background-color: #F0F0F0;" colspan="3">
                            </td>
                        </tr>
                        <tr>
                            <td style="width: 120px; height: 24px;">
                                &nbsp;&nbsp;有效期：
                            </td>
                            <td style="width: 400px;">
                                <asp:TextBox ID="EditUseful_Life" runat="server" Width="30%" ValidationGroup="Edit"></asp:TextBox>天
                            </td>
                            <td style="width: 150px;">
                            </td>
                        </tr>
                        <tr>
                            <td style="height: 1px; background-color: #F0F0F0;" colspan="3">
                            </td>
                        </tr>
                        <tr>
                            <td style="width: 120px; height: 24px;">
                                &nbsp;&nbsp;维护周期：</td>
                            <td style="width: 400px;">
                                <asp:TextBox ID="EditMaintain_Day_Cyc" runat="server" Width="30%" ValidationGroup="Edit"></asp:TextBox>天
                            </td>
                            <td style="width: 150px;">
                                &nbsp;
                            </td>
                        </tr>
                        <tr>
                            <td style="height: 1px; background-color: #F0F0F0;" colspan="3">
                            </td>
                        </tr>
                        <tr>
                            <td style="height: 70px; padding-top: 6px;" valign="top">
                                &nbsp;&nbsp;仪器设备参数：</td>
                            <td style="padding-top: 6px; height: 70px;" valign="top">
                                <asp:TextBox ID="EditEquip_Configs" runat="server" Width="99%" Height="70px" TextMode="MultiLine"
                                    ValidationGroup="Edit"></asp:TextBox>
                            </td>
                            <td style="width: 150px;">
                                &nbsp;
                            </td>
                        </tr>
                        <tr>
                            <td style="height: 1px; background-color: #F0F0F0;" colspan="3">
                            </td>
                        </tr>
                        <tr>
                            <td class="tblfooter" colspan="3" align="right">
                                <asp:Button ID="EditSave" runat="server" Text="保 存" Width="90px" OnClick="EditSave_Click"
                                    ValidationGroup="Edit" />
                                <asp:Button ID="EditBack" runat="server" Text="返 回" Width="90px" OnClick="EditBack_Click" /></td>
                        </tr>
                    </table>
                </asp:Panel>
                <asp:Panel ID="DetailPanel" runat="server" Width="100%">
                    <table width="100%" border="0" cellspacing="0" cellpadding="0" class="tablehaveborder">
                        <tr>
                            <td style="height: 1px; background-color: #F0F0F0;" colspan="3">
                            </td>
                        </tr>
                        <tr>
                            <td style="width: 120px; height: 24px;">
                                &nbsp;&nbsp;设备编号：</td>
                            <td style="width: 400px;" class="id">
                                <asp:Label ID="DetailEquip_ID" runat="server" Width="100%"></asp:Label>
                            </td>
                            <td style="width: 150px;">
                                &nbsp;
                            </td>
                        </tr>
                        <tr>
                            <td style="height: 1px; background-color: #F0F0F0;" colspan="3">
                            </td>
                        </tr>
                        <tr>
                            <td style="width: 120px; height: 24px;">
                                &nbsp;&nbsp;设备名称：</td>
                            <td style="width: 400px;">
                                <asp:Label ID="DetailEquip_Name" runat="server" Width="99%"></asp:Label>
                            </td>
                            <td style="width: 150px;">
                                &nbsp;
                            </td>
                        </tr>
                        <tr>
                            <td style="height: 1px; background-color: #F0F0F0;" colspan="3">
                            </td>
                        </tr>
                        <tr>
                            <td style="width: 120px; height: 24px;">
                                &nbsp;&nbsp;制造厂商：
                            </td>
                            <td style="width: 400px;">
                                <asp:Label ID="DetailOEM" runat="server" Width="99%"></asp:Label>
                            </td>
                            <td style="width: 150px;">
                                &nbsp;
                            </td>
                        </tr>
                        <tr>
                            <td style="height: 1px; background-color: #F0F0F0;" colspan="3">
                            </td>
                        </tr>
                        <tr>
                            <td style="width: 120px; height: 24px;">
                                &nbsp;&nbsp;出厂/生产日期：&nbsp;
                            </td>
                            <td style="width: 400px;">
                                <asp:Label ID="DetailEx_Fact_Date" runat="server" Width="99%"></asp:Label>
                            </td>
                            <td style="width: 150px;">
                                &nbsp;
                            </td>
                        </tr>
                        <tr>
                            <td style="height: 1px; background-color: #F0F0F0;" colspan="3">
                            </td>
                        </tr>
                        <tr>
                            <td style="width: 120px; height: 24px;">
                                &nbsp;&nbsp;照片铭牌：</td>
                            <td style="width: 400px;">
                                <asp:Label ID="DetailNameplate" runat="server" Width="99%"></asp:Label>
                                <asp:Repeater ID="DetailRepFile" runat="server">
                                    <ItemTemplate>
                                        <li>
                                            <img src='ReadImage.aspx?filepath=<%#DataBinder.Eval(Container.DataItem, "file_url")%>'
                                                alt='<%#DataBinder.Eval(Container.DataItem, "file_name")%>' width="100" height="100" />
                                            <a href='getfile.aspx?fileid=<%#DataBinder.Eval(Container.DataItem, "file_id")%>'>
                                                <%#DataBinder.Eval(Container.DataItem, "file_name")%>
                                            </a>
                                    </ItemTemplate>
                                </asp:Repeater>
                            </td>
                            <td style="width: 150px;">
                                &nbsp;
                            </td>
                        </tr>
                        <tr>
                            <td style="height: 1px; background-color: #F0F0F0;" colspan="3">
                            </td>
                        </tr>
                        <tr>
                            <td style="width: 120px; height: 24px;">
                                &nbsp;&nbsp;购买日期：</td>
                            <td style="width: 400px;">
                                <asp:Label ID="DetailBuy_Date" runat="server" Width="99%"></asp:Label>
                            </td>
                            <td style="width: 150px;">
                                &nbsp;
                            </td>
                        </tr>
                        <tr>
                            <td style="height: 1px; background-color: #F0F0F0;" colspan="3">
                            </td>
                        </tr>
                        <tr>
                            <td style="width: 120px; height: 24px;">
                                &nbsp;&nbsp;有效期：
                            </td>
                            <td style="width: 400px;">
                                <asp:Label ID="DetailUseful_Life" runat="server"></asp:Label>天
                            </td>
                            <td style="width: 150px;">
                                &nbsp;
                            </td>
                        </tr>
                        <tr>
                            <td style="height: 1px; background-color: #F0F0F0;" colspan="3">
                            </td>
                        </tr>
                        <tr>
                            <td style="width: 120px; height: 24px;">
                                &nbsp;&nbsp;维护周期：</td>
                            <td style="width: 400px;">
                                <asp:Label ID="DetailMaintain_Day_Cyc" runat="server"></asp:Label>天
                            </td>
                            <td style="width: 150px;">
                                &nbsp;
                            </td>
                        </tr>
                        <tr>
                            <td style="height: 1px; background-color: #F0F0F0;" colspan="3">
                            </td>
                        </tr>
                        <tr>
                            <td style="height: 70px; padding-top: 6px;" valign="top">
                                &nbsp;&nbsp;仪器设备参数：</td>
                            <td style="padding-top: 6px; height: 70px;" valign="top">
                                <asp:Label ID="DetailEquip_Configs" runat="server" Width="99%"></asp:Label>
                            </td>
                            <td style="width: 150px;">
                                &nbsp;
                            </td>
                        </tr>
                        <tr>
                            <td style="height: 1px; background-color: #F0F0F0;" colspan="3">
                            </td>
                        </tr>
                        <tr>
                            <td class="tblfooter" colspan="3">
                                <asp:Button ID="EditGo" runat="server" Text="修 改" Width="90px" OnClick="EditGo_Click" />
                                <asp:Button ID="DeleteGo" runat="server" OnClientClick="javascript:return confirm('您确定要删除此条记录吗？');"
                                    Text="删 除" Width="90px" OnClick="DeleteGo_Click" />
                                <asp:Button ID="DetailBack" runat="server" Text="返 回" Width="90px" OnClick="DetailBack_Click" /></td>
                        </tr>
                    </table>
                </asp:Panel>
                <%--                <asp:Panel ID="panelDelCatalog" runat="server" Style="display: none; width: 400px;" CssClass="modalPopup">
                <div id="dragDelCatalog" class="windowbar">
                <div style="padding-top:4px;color:White;font-weight:bold;">&nbsp;&nbsp;设备照片铭牌上传</div>
                </div>
                <br />
                    <asp:FileUpload ID="FileUpload" runat="server" />
                <br />
                <br />
                <asp:Label ID="labEquipID" runat="server" Font-Bold="True"></asp:Label>
                <asp:Label ID="LabEquipName" runat="server" Font-Bold="True"></asp:Label>
                <br />
                <br />
                <hr />
                <div style="text-align: right;">
                    <asp:Button ID="btnOK" runat="server" Text="确定" />
                    <asp:Button ID="btnCancel" runat="server" Text="取消" />
                </div>
            </asp:Panel>
            
            <asp:Button runat="server" ID="hiddenTargetControlForModalPopup1" Style="display: none" />
            
            <ajaxToolkit:ModalPopupExtender ID="MPEUpLoadImage" TargetControlID="hiddenTargetControlForModalPopup1"
                runat="server" CancelControlID="btnCancel" BehaviorID="programmaticModalPopupBehavior2"
                PopupDragHandleControlID="dragDelCatalog" PopupControlID="panelDelCatalog" BackgroundCssClass="modalBackground">
            </ajaxToolkit:ModalPopupExtender>
--%>
            </div>
        </ContentTemplate>
    </asp:UpdatePanel>
</asp:Content>
